package edu.sctu.practice.class02.yangshengyu.three10;

/**
 * Created by Cullen on 2015/8/13.
 */
public class N37 {
    public static void main(String[] args) {
        int a;
        int i=0;
        for(a=10000;a<100000;a++){
            if(a%10==6 && a%31==0){
                System.out.print(a+" ");
                i++;
            }
        }
        System.out.println();
        System.out.print("共有："+i+"个！");
    }
}
